﻿
Public Class PocketTune


    Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
        TextBox1.Text += SerialPort1.ReadLine
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        SerialPort1.Open()
        SerialPort1.WriteLine("Test communication")
        SerialPort1.Write("hfdasjkhfkjhfkjlhakjfhkjfhkjdhjkfdhjkhdfkjhajkhdfjkhkjfadhkjfdhkjfhdajkdahfkjdshfkjlhdfkjhdfjkhadshdfkl")
    End Sub


    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

    End Sub
End Class
